form

abstract fun form(): Optional<FormElement>

Returns an Optional that contains the HTML element for the form that contains this element, otherwise an empty Optional.

Throws

when this instance is closed